package convertor;

import tag.constants;

public class Convert implements constants{

	public static String toTime( int value ){
		int seconds=value/1000;
		int hours=0;
		int minutes=0;
		
		while(seconds>=60){
			seconds-=60;
			minutes++;
		}
		
		while(minutes>=60){
			minutes-=60;
			hours++;
		}
		
		return hours+":"+minutes+":"+seconds;
	}
}
